package com.lc.fbtp.draftmsg.api.paper.cpr.cpr003;

import com.lc.fbtp.draftmsg.api.paper.CdInf;
import com.lc.fbtp.draftmsg.api.paper.MainBody;
import com.lc.fbtp.draftmsg.api.paper.MsgId;
import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 质押申请报文
 * @author yeyun20029
 *
 */
public class CPR003 extends MainBody{

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 3962513378025157547L;
	/**
	 * 报文标识
	 */
	@XStreamAlias("MsgId")
	private MsgId MsgId;
	/**
	 * 票据信息
	 */
	@XStreamAlias("CdInf")
	private CdInf CdInf;
	/**
	 * 质押信息
	 */
	@XStreamAlias("PlgInf")
	private PlgInf PlgInf;
	public MsgId getMsgId() {
		return MsgId;
	}
	public void setMsgId(MsgId msgId) {
		MsgId = msgId;
	}
	public CdInf getCdInf() {
		return CdInf;
	}
	public void setCdInf(CdInf cdInf) {
		CdInf = cdInf;
	}
	public PlgInf getPlgInf() {
		return PlgInf;
	}
	public void setPlgInf(PlgInf plgInf) {
		PlgInf = plgInf;
	}
	@Override
	public String getId() {
		return MsgId.getId();
	}
	@Override
	public String getDtTm() {
		return MsgId.getCreDtTm();
	}
	@Override
	public String getOrgnlId() {
		return null;
	}
	
}
